//
//  DVTest.h
//  DVmysqlApp
//
//  Created by mt-007 on 2021/4/9.
//

#ifndef DVTest_h
#define DVTest_h

#import <Foundation/Foundation.h>
#import <OHMySQL.h>

@interface DVTest : NSObject {
    OHMySQLUser *usr;
    OHMySQLStoreCoordinator *coordinator;
    NSString *pFilePath;
    NSMutableDictionary *pData;
}

@property(nonatomic, copy)NSString *userId;
@property(nonatomic, copy)NSString *userName;
@property(nonatomic, copy)NSString *userPassword;
@property(nonatomic, copy)NSString *userEmail;
@property(nonatomic, copy)NSString *userPhone;

// init databases base information and dealloc base connect.
- (instancetype)initDBBaseInfo;
- (void)close;

- (void)coordinatorTest;
- (NSArray *)queryTaskForAll:(NSString *)selectTable;

// display task
- (void)displayTask:(NSArray *)task;

@end

#endif /* DVTest_h */
